$bar-bgc: "red";
$block-bgc: "";

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.dashboard-container {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  user-select: none;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeIn 1s 0.2s ease both;
  background: url("~@/assets/img/dashboard-bg.png") no-repeat center center;
  background-size: 100% 100%;
  .dashboard-head {
    position: absolute;
    box-sizing: border-box;
    top: 0;
    left: 0;
    right: 0;
    height: 66px;
    width: 100vw;
    display: flex;
    padding: 0 0.1vw;
    z-index: 4;
    .header_title {
      color: #fff;
      width: 33%;
      margin: 0 auto;
      display: table;
      height: 100%;
      position: relative;
      img {
        position: absolute;
        width: 100%;
        height: 100%;
        &.left {
          top: 0;
          left: -25.6vw;
        }
        &.right {
          top: 0;
          right: -26vw;
        }
      }
      h2 {
        font-weight: normal;
        display: table-cell;
        vertical-align: middle;
        font-size: 2vw;
        text-align: center;
        text-shadow: 0 0 3px rgba(255, 255, 255, 0.4);
      }
    }
  }
  .dashboard-button {
    z-index: 4;
    position: fixed;
    top: 0;
    right: 5px;
    border: 0 none;
    padding: 0 10px;
    font-size: 2vw;
    background: none;
    color: #fff;
  }
  .dashboard-map {
    height: 100%;
    width: 100%;
    z-index: 3;
  }
  .dashboard-left {
    display: flex;
    position: fixed;
    z-index: 4;
    left: 2%;
    top: 60px;
    bottom: 0;
  }
  .dashboard-right {
    display: flex; // width: 30vw;
    position: fixed;
    z-index: 4;
    right: 2%;
    top: 60px;
    bottom: 0; // background-color: #fff;
  }
  .control-wrapper {
    z-index: 10;
    position: absolute;
    width: 30vw;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: #daf6ff;
    text-shadow: 0 0 20px #0aafe6, 0 0 20px rgba(10, 175, 230, 0);
    text-align: center;
    h2.title {
      font-size: 2vw;
      margin: 0;
      display: inline-block;
    }
    p.subtitle {
      display: inline-block;
      span {
        font-size: 1.5vw;
        margin-left: 0.3vw;
        font-family: ds-digitalnormal;
      }
    }
  }
  .count-wrapper {
    position: absolute;
    box-sizing: border-box;
    padding: 0.8vh 1vw;
    z-index: 10;
    background: linear-gradient(to left, #60fffe, #60fffe) left top no-repeat,
      linear-gradient(to bottom, #60fffe, #60fffe) left top no-repeat,
      linear-gradient(to left, #60fffe, #60fffe) right top no-repeat,
      linear-gradient(to bottom, #60fffe, #60fffe) right top no-repeat,
      linear-gradient(to left, #60fffe, #60fffe) left bottom no-repeat,
      linear-gradient(to bottom, #60fffe, #60fffe) left bottom no-repeat,
      linear-gradient(to left, #60fffe, #60fffe) right bottom no-repeat,
      linear-gradient(to left, #60fffe, #60fffe) right bottom no-repeat;
    background-size: 0.1vw 1.5vw, 1.5vw 0.1vw, 0.1vw 1.5vw, 1.5vw 0.1vw;
    height: 15vh;
    bottom: 4%;
    left: 28%;
    font-family: "ds-digitalnormal";
    font-size: 0.8vw;
    color: #60fffe;
    text-shadow: 0 0 20px #0aafe6, 0 0 20px rgba(10, 175, 230, 0);
    .single-count {
      span {
        font-size: 1.6vw;
        margin: 0 0.5vw;
      }
    }
  }
  .right-bar-container {
    position: absolute;
    right: 0;
    width: 25%;
    top: 0;
    bottom: 0;
    height: 100%;
    transition: right ease-in 1s;
    z-index: 10;
    &.hide {
      right: -30%;
    }
    .bar-content {
      width: 100%;
      height: 100%;
    }
  }
}
